package com.weijianhuawen.wjblog.web.mode.vo.search;

import com.weijianhuawen.wjblog.common.model.BasePageQuery;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-11-05 12:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "文章搜索 请求实体")
public class SearchArticlePageListReqVo extends BasePageQuery {
    // 查询关键词
    @NotBlank(message = "查询关键词不能为空！")
    private String word;
}
